package com.freight.user.vo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.data.annotation.CreatedDate;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author huyingtai
 */
@Data
public class CompanyDetailInfoVo extends UserVo {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户头像")
    private String avatar;

    @ApiModelProperty(value = "登入手机号")
    private String mobile;

    @ApiModelProperty(value = "公司id")
    private Long companyId;

    @ApiModelProperty(value = "公司名称")
    private String companyName;

    @ApiModelProperty(value = "联系人姓名")
    private String contactName;

    @ApiModelProperty(value = "联系人 --- 电话")
    private String contactPhone;

    @ApiModelProperty(value = "地址")
    private String street;

    @ApiModelProperty(value = "公司类型")
    private String type;

    @ApiModelProperty(value = "企业信用代码")
    private String certNo;


    @ApiModelProperty(value = "更新时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String updateTime;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "状态")
    private String delFlag;

    @ApiModelProperty(value = "证件状态 0未认证 1已认证 2审核中 3已过期 4已注销")
    private Integer registStatus;


    @ApiModelProperty(value = "状态 默认0正常 -1禁用")
    private Integer status ;


}